﻿<UserControl x:Class="Samba.Modules.UserModule.LoggedInUserView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
     xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="auto" />
        </Grid.ColumnDefinitions>
        <Label Grid.Column="0" Content="{LocText User, Suffix=':'}"
             HorizontalAlignment="Left" VerticalAlignment="Bottom" />
        <Label Grid.Column="1" Content="{Binding Path=LoggedInUserName}" HorizontalAlignment="Left"
             VerticalAlignment="Bottom" />
        <Button Focusable="False" Grid.Column="2" Content="{LocText MainMenu}"
             Command="{Binding Path=LogoutUserCommand}" />
    </Grid>
</UserControl>